﻿using System;
using System.Windows.Media;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NetExp.MediaXenter.Utilities
{
    public class ThemesResources
    {
        private ImageSource _sfondo;
        private ImageSource _video;
        private ImageSource _foto;
        private ImageSource _musica;
        private ImageSource _impostazioni;
        private ImageSource _plugin;
        private ImageSource _televisione;
        //ImageSource _;
        //ImageSource _;
        //ImageSource _;
        //ImageSource _;

        public ImageSource Sfondo
        {
            get
            {
                return _sfondo;
            }
        }
        public ImageSource Musica
        {
            get
            {
                return _musica;
            }
        }

        public ImageSource Video
        {
            get
            {
                return _video;
            }
        }

        public ImageSource Foto
        {
            get
            {
                return _foto;
            }
        }
        public ImageSource Impostazioni
        {
            get
            {
                return _impostazioni;
            }
        }
        public ImageSource Plugin
        {
            get
            {
                return _plugin;
            }
        }
        public ImageSource Televisione
        {
            get
            {
                return _televisione;
            }
        }

        public void LoadTheme(string tema)
        {
            ThemesHelper themesHelper = new ThemesHelper(tema);

            _sfondo = themesHelper.GetSfondoPrincipale();
            _video = themesHelper.GetImage("S0101.png");
            _foto = themesHelper.GetImage("S0103.png");
            _musica = themesHelper.GetImage("S0102.png");
            _impostazioni = themesHelper.GetImage("S0104.png");
            _televisione = themesHelper.GetImage("S0106.png");
            _plugin = themesHelper.GetImage("S0105.png");
        }

    }
}
